package pl.edu.agh.portal.application.types;

import java.io.Serializable;
import java.util.Date;

public class Employee implements Serializable {

	private static final long serialVersionUID = -4758142935481503009L;

	private String name;
	private String login;
	private String password;
	private Date joinDate;
	
	public Employee(String name, String login, String password, Date joinDate) {
		this.name = name;
		this.login = login;
		this.password = password;
		this.joinDate = joinDate;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getLogin() {
		return login;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}

	public Date getJoinDate() {
		return joinDate;
	}	
	
}
